angular.module('video_detail', [])
    .controller('video_detailCtrl', function ($scope) {
        // video
        $("#jplayer_1").jPlayer({
            ready: function () {
                $(this).jPlayer("setMedia", {
                    title: "疯狂动物城",
                    m4v: "File_musicDownload.action?filePath=video/big_buck_bunny_trailer.m4v",
                    poster: "images/m41.jpg"
                });
            },
            swfPath: "js",
            supplied: "webmv, ogv, m4v, m4a",
            size: {
                width: "100%",
                height: "auto",
                cssClass: "jp-video-360p"
            },
            globalVolume: true,
            smoothPlayBar: true,
            keyEnabled: true
        });
    });